import { createAction } from 'redux-actions';

import API from "../api/user";

/** 登录 */
export const LOGIN = "LOGIN";
export const login = createAction(LOGIN, (info) => API.login(info));
